<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" type="text/css" href="${request.contextPath}/assets/printer/printPage.css?v=3653060703">
    <style type="text/css">
        .h1 {
            font-size: 20pt;
            line-height: 30pt;
            font-weight: 800;
        }

        .h2 {
            font-size: 10pt;
            line-height: 20pt;
            font-weight: 400;
        }

        .strong {
            font-weight: 800;
        }

        #describe {
            max-height: 33em;
            overflow: auto;
        }

        #describe img {
            max-height: 50mm;
            max-width: 50mm;

        }

        .table1 td {
            padding: 0.2em 0.5em 0.2em 0em;
        }

        .underLine {
            border-bottom: 1px solid #000;
        }
    </style>
    <!-- 打印设置 -->
    <style type="text/css" media=print>
        #header, .top_title, #jqprint, #footer, #cssprint {
            display: none
        }

        .Noprint {
            display: none
        }

        .Noboder {
            border: 0px solid #000;
            margin: 0px;
            height: 10px;
            width: auto;
        }

        .pages {
            border: 0px solid #000;
            margin: 0px;
        }

        .Minprint {
            height: auto;
            width: 277mm;
            border: 0px solid #666666;
        }

        .PageNext {
            page-break-after: always;
        }

        .Hidden {
            visibility: hidden;
        }
    </style>
    <script src="${request.contextPath}/assets/js/jquery-1.12.4.min.js?v=3653060703" type="text/javascript"></script>
    <script src="${request.contextPath}/assets/js/json2.js?v=3653060703" type="text/javascript"></script>
    <script type="text/javascript">
        //        A4:'210,297',
        $(function () {
            $(".pages").css('width', '210mm');
            $(".pages").css('height', '297mm');
            $(".pages").css('padding', '20mm 15mm');
            $(".pages").css('font-size', '10pt');
        })

        function printIE() {
            window.print();
        }
    </script>
</head>
<body style="background-color: #CCCCCC;">
<div class="tool Noprint">
    <table width="1000" border="0" align="center" cellpadding="2" cellspacing="0">
        <tr>
            <td colspan="12" align="center">
                <input name="print" type="button" class="bt" value="开始打印" onclick="printIE();"/></td>
        </tr>
    </table>
    <br/>
</div>
<div style="height:100px" class="Noprint"></div>
<div class="printPaper Noboder ">
    <div class="pages PageNext">
        <table cellspacing="0" cellpadding="5px" width="100%" style="border-bottom: 1px solid #000">
            <tr>
                <td colspan="7" class="h1" align="center">资产移交申请单</td>
            </tr>
            <tr class="h2">
                <td width="80">打印平台：</td>
                <td>${systemName}</td>
                <td width="60">流水号：</td>
                <td>${mainData.flowCode}</td>
                <td>　</td>
                <td width="90" align="right">打印时间：</td>
                <td width="150" align="right">${printTime}</td>
            </tr>
        </table>
        <table cellspacing="0" cellpadding="5px" width="100%" style="line-height: 1.5em;">
            <col width="60">
            <col width="120">
            <col width="60">
            <col width="100">
            <col width="60">
            <col width="80">
            <tr>
                <td>移交原因：</td>
                <td>${mainData.changeTypeName}</td>
                <td>申请时间：</td>
                <td>${mainData.createTime?string('yyyy-MM-dd hh:mm')}</td>
                <td>资产数量：</td>
                <td>${mainData.detailLength}</td>
            </tr>
            <tr>
                <td colspan="6" align="center" style="background: #fafafa;font-weight: 600;font-size:8pt;">原信息</td>
            </tr>
            <tr>
                <td>所属机构：</td>
                <td>${mainData.oldOrgName}</td>
                <td>人员姓名：</td>
                <td>${mainData.name}</td>
                <td>人员类型：</td>
                <td>${mainData.staffTypeName}</td>
            </tr>
            <tr>
                <td>小号：</td>
                <td>${mainData.telephone}</td>
                <td>审务终端号：</td>
                <td>${mainData.telephone2}</td>
                <td>固定电话：</td>
                <td>${mainData.telephone4}</td>
            </tr>
            <tr>
                <td>出生日期：</td>
                <td>${mainData.birthday}</td>
                <td>房间号：</td>
                <td>${mainData.roomNo}</td>
                <td>系统角色：</td>
                <td>${mainData.oldRoleName}</td>
            </tr>
            <tr>
                <td colspan="6" align="center" style="background: #fafafa;font-weight: 600;font-size:8pt;">新信息</td>
            </tr>
            <tr>
                <td>新所属机构：</td>
                <td>${mainData.newOrgName}</td>
                <td>新人员类型：</td>
                <td>${mainData.newTypeName}</td>
                <td>新系统角色：</td>
                <td>${mainData.newRoleName}</td>
            </tr>
            <tr>
                <td style="border:1px dotted #000;text-align: right;padding-right:50px;padding-top:50px;" colspan="6" >
                    交付人签字：_______________________&nbsp&nbsp&nbsp
                    交付时间：_______________________</td>
            </tr>
        </table>
    <#list detailList1 as item>
        <br>
        <table cellspacing="0" cellpadding="0" class="tabborder">
            <tr>
                <td width="95">资产名称</td>
                <td width="100" colspan="2">${item.name}</td>
                <td width="80">二维码</td>
                <td width="100">${item.QrCode}</td>
                <td width="80">条形码</td>
                <td width="100">${item.barCode}</td>
            </tr>
            <tr>
                <td>使用方式</td>
                <td>${item.oldUseTypeName}</td>
                <td width="80">领用时间</td>
                <td width="100">${item.buyTime?string('yyyy-MM-dd')}</td>
                <td>资产位置</td>
                <td colspan="3">${item.oldPosition}</td>
            </tr>

            <tr>
                <td>新使用方式</td>
                <td>${item.newUseTypeName}</td>
                <td>新使用人</td>
                <td>${item.newStaffName}</td>
                <td>新使用机构</td>
                <td colspan="3">${item.newOrgName}</td>
            </tr>
            <tr>
                <td>新使用位置</td>
                <td colspan="3">${item.newPosition}</td>
                <td>暂存/回收仓库</td>
                <td colspan="3">${item.warehouseName}</td>
            </tr>
            <tr>
                <td colspan="8" height="150px">
                    <div style="display: flex">
                        <div style="width: 200px;height: 150px;">
                            <img style="max-width:100%; max-height:150px;" src="${item.externalPhotos}"/>
                        </div>
                        <div style="flex:1;padding-top: 100px;padding-right:50px;text-align: right">
                            接收人签字：_______________________&nbsp&nbsp&nbsp
                            接收时间：_______________________
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </#list>
    </div>


<#list detailPages as detail>
    <div class="pages PageNext">
        <#list detail.detailList as item>
            <br>
            <table cellspacing="0" cellpadding="0" class="tabborder">
                <tr>
                    <td width="95">资产名称</td>
                    <td width="100" colspan="2">${item.name}</td>
                    <td width="80">二维码</td>
                    <td width="100">${item.QrCode}</td>
                    <td width="80">条形码</td>
                    <td width="100">${item.barCode}</td>
                </tr>
                <tr>
                    <td>使用方式</td>
                    <td>${item.oldUseTypeName}</td>
                    <td width="80">领用时间</td>
                    <td width="100">${item.buyTime?string('yyyy-MM-dd')}</td>
                    <td>资产位置</td>
                    <td colspan="3">${item.oldPosition}</td>
                </tr>

                <tr>
                    <td>新使用方式</td>
                    <td>${item.newUseTypeName}</td>
                    <td>新使用人</td>
                    <td>${item.newStaffName}</td>
                    <td>新使用机构</td>
                    <td colspan="3">${item.newOrgName}</td>
                </tr>
                <tr>
                    <td>新使用位置</td>
                    <td colspan="3">${item.newPosition}</td>
                    <td>暂存/回收仓库</td>
                    <td colspan="3">${item.warehouseName}</td>
                </tr>
                <tr>
                    <td colspan="8" height="150px">
                        <div style="display: flex">
                            <div style="width: 200px;height: 150px;">
                                <img style="max-width:100%; max-height:150px;" src="${item.externalPhotos}"/>
                            </div>
                            <div style="flex:1;padding-top: 70px;padding-top: 100px;padding-right:50px;text-align: right">
                                接收人签字：_______________________&nbsp&nbsp&nbsp
                                接收时间：_______________________
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </#list>
    </div>
</#list>
</div>
</body>

</html>
